package com.hb.trans.mvp.contract

import com.basiclib.inter.IModel
import com.basiclib.inter.IMvpView
import com.hb.trans.bean.Base
import com.hb.trans.bean.NewDetail
import io.reactivex.Observable

interface NewDetailContract {

    interface View : IMvpView {
        fun setNewContent(new: NewDetail?)
    }


    interface Model : IModel {
        fun getNewDetail(id: String): Observable<Base<NewDetail>>
    }
}